package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SelfPickup;

/**
 * 预约自提Mapper接口
 * 
 * @author ruoyi
 * @date 2024-02-20
 */
public interface SelfPickupMapper 
{
    /**
     * 查询预约自提
     * 
     * @param id 预约自提主键
     * @return 预约自提
     */
    public SelfPickup selectSelfPickupById(Long id);

    /**
     * 查询预约自提列表
     * 
     * @param selfPickup 预约自提
     * @return 预约自提集合
     */
    public List<SelfPickup> selectSelfPickupList(SelfPickup selfPickup);

    /**
     * 新增预约自提
     * 
     * @param selfPickup 预约自提
     * @return 结果
     */
    public int insertSelfPickup(SelfPickup selfPickup);

    /**
     * 修改预约自提
     * 
     * @param selfPickup 预约自提
     * @return 结果
     */
    public int updateSelfPickup(SelfPickup selfPickup);

    /**
     * 删除预约自提
     * 
     * @param id 预约自提主键
     * @return 结果
     */
    public int deleteSelfPickupById(Long id);

    /**
     * 批量删除预约自提
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSelfPickupByIds(Long[] ids);
}
